﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Qas.CommonLogic.BusinessObjects
{
    /// <summary>
    /// Компетенция - способность или навык выполнения определённых работ
    /// </summary>
    public partial class Competence : AbstractObject
    {

        public override bool Equals(object obj)
        {
            Competence comp = obj as Competence;

            if (comp != null)
            {
                return (this.ID == comp.ID);
            }
            else
            {
                return false;
            }
        }

        public override int GetHashCode()
        {
            return this.ID;
        }
    }
}
